package com.housekeeping.housekeeping.advertisingmanagement.service.impl;/*
 * @author  pyh
 * @date  2021/1/23 0023 下午 5:32
 * @version 1.0
 * @since JDK1.8_241
 */

import com.housekeeping.housekeeping.advertisingmanagement.dao.impl.ProductOrderDaoImpl;
import com.housekeeping.housekeeping.advertisingmanagement.entity.ProductOrder;
import com.housekeeping.housekeeping.advertisingmanagement.service.ProductOrderService;

import java.sql.SQLException;

public class ProductOrderServiceImpl implements ProductOrderService {
    private ProductOrderDaoImpl orderDao = new ProductOrderDaoImpl();
    @Override
    public ProductOrder getOrderContent(String number) throws SQLException {
        ProductOrder orderContent = orderDao.getOrderContent(number);
        //数据库操作
        return orderContent;
    }
}
